package pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

@Data
@Document(indexName = "i_em")
@AllArgsConstructor
@NoArgsConstructor
public class Office {
    @Id
    private String officeId;
    @Field(type = FieldType.Text)
    private String officeName;
    @Field(type = FieldType.Text)
    private String officeCreatetime;
    @Field(type = FieldType.Text)
    private String officeCreateprope;
    @Field(type = FieldType.Text)
    private String officeUpdatime;
    @Field(type = FieldType.Text)
    private String officeUpdapoeple;
    @Field(type = FieldType.Text)
    private String officeIsdelete;


}